/**
 * 异步setTimeout
 * @param {*} time
 */
export function setTimeoutAsync (time) {
  return new Promise(resolve => {
    setTimeout(resolve, time)
  })
}
